package com.atguigu.eduorder.service;

import com.atguigu.eduorder.entity.PayLog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.omg.CORBA.OBJ_ADAPTER;

import java.util.Map;

/**
 * <p>
 * 支付日志表 服务类
 * </p>
 *
 * @author 董万均
 * @since 2020-11-07
 */
public interface PayLogService extends IService<PayLog> {

    Map<String,Object> createNative(String orderNo);
    //查询支付的状态
    Map<String,String> queryPayStatus(String orderNo);
    //支付成功之后，就更新订单表
    void updateOrderStatus(Map<String,String> map);
}
